ZPOS\Model\Cart S

Total Complexity 48
Dependencies 1
Dependents 3
Total lines 260
Lines of code 217
Logical lines of code 130
Comment lines 0
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
clear_cart()
A
52 8 23
restore_cart()
A
48 7 34
remove_from_cart()
S
51 6 25
change_product_quantity()
S
48 5 34
update_product_quantity()
S
53 5 22
add_item()
S
52 4 25
get_related_ids()
S
57 2 17
restore_product_quantity()
S
68 2 7
delete_scheduled_hook()
S
70 2 6
get_management_related_product_id()
S
74 2 4
__construct()
S
78 1 3
get_cart_items()
S
78 1 3
create_cart_cron_job()
S
66 1 8
get_option_name()
S
80 1 3
is_cron_job_expired()
S
77 1 3